package org.lanqiao.dao;

import org.lanqiao.entity.Admin;

import java.util.List;

public interface AdminDao {


    public int addAdmin(Admin admin);

    public int delAdmin(Integer id);

    public int updAdmin(Admin admin);

    public Admin findAdminById(Integer id);

    public List<Admin> findAllAdmins();

    public boolean isExistById(Integer id);
}
